Searchanise\SmartWoocommerceSearch\Fulltext_Search D

Total Complexity 225
Dependencies 9
Dependents 1
Total lines 1,515
Lines of code 800
Logical lines of code 440
Comment lines 456
Methods 45
Properties 7

Methods 45

Method Rating Maintainability Complexity Lines of code
restPostDispatch()
D
27
40 131
sendSearchAndRequest()
C
28
27 142
prepareFiltersFromRequest()
C
39 25 51
executeSearchRequest()
B
35 14 85
getDidYouMeanText()
A
48 9 31
getCountAttribute()
A
53 9 24
getSortings()
A
50 8 29
catalogOrderby()
A
54 8 20
preGetPosts()
S
50 7 30
restrictProductCat()
S
54 6 20
priceFilterWidgetMinAmount()
S
58 5 15
priceFilterWidgetMaxAmount()
S
58 5 14
postsClausesRequest()
S
57 4 15
isReviewEnabled()
S
56 3 19
getDefaultSortings()
S
57 3 16
getFilteredTermProductCountsQuery()
S
63 4 10
postsPreQuery()
S
70 4 6
getLimits()
S
66 4 7
getProductIds()
S
61 3 14
foundPosts()
S
71 3 6
getIsUseRequestCache()
S
67 3 7
get_filters()
S
60 1 16
getTotalProducts()
S
74 2 4
getSuggestions()
S
74 2 4
setAttributeCount()
S
71 2 6
getAttributeCount()
S
71 2 6
is_active()
S
79 2 3
isSearchRequest()
S
80 2 3
priceFilterWidgetStep()
S
72 2 6
get_priority()
S
82 1 3
checkAttributeCount()
S
79 1 3
get_hooks()
S
76 1 5
getSuggestionLink()
S
67 1 9
getSortMapping()
S
79 1 3
getAttributesCount()
S
82 1 3
setAttributesCount()
S
81 1 3
layeredNavCountMaybeCache()
S
82 1 3
thePosts()
S
77 1 4
setProductIds()
S
81 1 3
checkSearchResults()
S
80 1 3
getSearchResult()
S
82 1 3
setSearchResult()
S
74 1 5
getSearchParams()
S
82 1 3
setSearchParams()
S
81 1 3
__construct()
S
77 1 4